<?php

class Adept_Renderer_Composite extends Adept_Renderer_Base 
{
    
    public function renderBegin($component) 
    {
        
    }    
    
    public function renderChildren($component)
    {
        foreach ($component->getChildren() as $child) {
            $child->render();
        }
    }
    
    public function renderEnd($component)
    {
        
    }
    
    public function render($component) 
    {
        $this->renderBegin($component);
        $this->renderChildren($component);
        $this->renderEnd($component);
    }    
    
}